package model;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.validation.constraints.NotNull;

@Entity
@DiscriminatorValue("2")
public class Professor extends Pessoa {
	
	private String codigoInst;
	
	public static final int NUMERO_MAXIMO_LOCACAO = 5;
	public static final int NUMERO_MAXIMO_RESERVA = 5;
	
	@NotNull(message="Insira o codigo do professor")
	public String getCodigoInst() {
		return codigoInst;
	}

	public void setCodigoInst(String codigoInst) {
		this.codigoInst = codigoInst;
	}

}
